<style>
  .{{$template|escape:'html'}}_page {
    width: 900px;
  }
  .{{$template|escape:'html'}}_table1 {
    width: 900px;
    height: 23px;
    border-top:solid 1px #7a5052;
    border-left:solid 1px #7a5052;
  }
  .{{$template|escape:'html'}}_table1 td {
    border-bottom:solid 1px #7a5052;
  }
  .{{$template|escape:'html'}}_table2 {
    width: 900px;
    height: 23px;
    margin-top:2px 0 0 0;
  }
  .{{$template|escape:'html'}}_td1 {
    border-right: solid 1px #fff;
    width: 110px;
    padding :0 0 0 15px;
  }
  .{{$template|escape:'html'}}_td2 {
    border-right: solid 1px #fff;
    width:73px;
    padding :0 0 0 15px;
  }
  .{{$template|escape:'html'}}_td3 {
    border-right: solid 1px #fff;
    width: 53px;
    text-align:center;
  }
  .{{$template|escape:'html'}}_td4 {
    width: 260px;
    padding :0 0 0 15px;
  }
  .{{$template|escape:'html'}}_td5 {
    width: 20px;
    text-align:center;
    border-right: solid 1px #fff;
  }
  .{{$template|escape:'html'}}_td55 {
    width: 76px;
    text-align:center;
    border-right: solid 1px #fff;
  }
  .{{$template|escape:'html'}}_td6 {
    width: 900px;
    text-align: right;
  }
  .{{$template|escape:'html'}}_td1,.{{$template|escape:'html'}}_td2,.{{$template|escape:'html'}}_td3,.{{$template|escape:'html'}}_td4,
  .{{$template|escape:'html'}}_td5,.{{$template|escape:'html'}}_td55 {
    height: 23px;
    background-color: #7a5052;
    font-weight :bold;
    font-size :10pt;
    color :white;
  }
  .{{$template|escape:'html'}}_display {
    font-weight :bold;
    font-size :10pt;
    color :#694247;
    margin-right:3px;
  }
  .{{$template|escape:'html'}}_select {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 110px;
    height: 20px;
    text-align: left;
  }
</style>

<script src="jsrequest.php?script={{$template|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      var gui = GuiPageWeddingWithInTWoMOnths.instance('{{$template|escape:'javascript'}}');
      {{if $menu->b == 4}}
      new HandlePageWeddingWithinTwoMonths(gui, JSON.parse('{{$operator|escape:javascript}}'), JSON.parse('{{$now|escape:javascript}}'), JSON.parse('{{$options|escape:javascript}}'));
      {{else}}
       new HandlePageWeddingWithin3Weeks(gui, JSON.parse('{{$operator|escape:javascript}}'), JSON.parse('{{$now|escape:javascript}}'), JSON.parse('{{$options|escape:javascript}}'));
      {{/if}}
    }
  //-->
</script>

<div style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" align="left">
<table style="margin-bottom:5px;width:900px;" cellPadding="0" cellSpacing="0" >
  <tr>
    <td align="right">
      <span class="{{$template|escape:'html'}}_display">Display :</span>
      <select class="{{$template|escape:'html'}}_select" id="{{$template|escape:'html'}}_type_select"></select>
    </td>
  </tr>
</table>
<table class="{{$template|escape:'html'}}_page" cellPadding="0" cellSpacing="0" >
  <tr>
    <td align="left" id = "{{$template|escape:'html'}}_save_div"></td>
  </tr>
  <tr>
    <td class="{{$template|escape:'html'}}_page">
      <div id="{{$template|escape:'html'}}_page_div"></div>
    </td>
  </tr>
</table>

<table class="{{$template|escape:'html'}}_table1" cellPadding="0" cellSpacing="0" id ="{{$template|escape:'html'}}_main_table">
  <tr>
    <td class="{{$template|escape:'html'}}_td5">
      <input type = "checkbox" id="{{$template|escape:'html'}}_checkAll_checkbox" ></input>
    </td>
    {{if $menu->b == 4}}
    <td class="{{$template|escape:'html'}}_td55">Engagement</td>
    {{else}}
    <td class="{{$template|escape:'html'}}_td55">Reminded</td>
    {{/if}}
    <td class="{{$template|escape:'html'}}_td1">Customer</td>
    <td class="{{$template|escape:'html'}}_td2"><span style="letter-spacing:2px">C/D</span></td>
    <td class="{{$template|escape:'html'}}_td2"><span style="letter-spacing:2px">W/D</span></td>
    <td class="{{$template|escape:'html'}}_td4">Bride</td>
    <td class="{{$template|escape:'html'}}_td4">Groom</td>
  </tr>
</table>

  